home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / inetutil.1 / inetutil / inetutils-1.1 / headers / acconfig.h next >
Encoding:
C/C++ Source or Header  |  1996-08-01  |  3.0 KB  |  101 lines

  1. /* inetutils-specific things to put in config.h.in
  2.  
  3.   Copyright (C) 1996 Free Software Foundation, Inc.
  4.  
  5.   This program is free software; you can redistribute it and/or modify
  6.   it under the terms of the GNU General Public License as published by
  7.   the Free Software Foundation; either version 2, or (at your option)
  8.   any later version.
  9.  
  10.   This program is distributed in the hope that it will be useful,
  11.   but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.   GNU General Public License for more details.
  14.  
  15.   You should have received a copy of the GNU General Public License
  16.   along with this program; if not, write to the Free Software
  17.   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  18.  
  19. /* Defining this causes gnu libc to act more like BSD.  */
  20. #define _BSD_SOURCE
  21.  
  22. @TOP@
  23. /* Lines from here until @BOTTOM@ are processed by autoheader.  */
  24.  
  25. /* Define this symbol if authentication is enabled.  */
  26. #undef AUTHENTICATION
  27.  
  28. /* Define this symbol if connection encryption is enabled.  */
  29. #undef ENCRYPTION
  30.  
  31. /* Define this symbol if connection DES encryption is enabled.  */
  32. #undef DES_ENCRYPTION
  33.  
  34. /* Define this symbol if `struct osockaddr' is undefd in <sys/socket.h>.  */
  35. #undef HAVE_OSOCKADDR
  36.  
  37. /* Define this symbol if time fields in struct stat are of type `struct
  38.    timespec', and called `st_mtimespec' &c.  */
  39. #undef HAVE_ST_TIMESPEC
  40.  
  41. /* Define this symbol if in addition to the normal time fields in struct stat
  42.    (st_mtime &c), there are additional fields `st_mtime_usec' &c.  */
  43. #undef HAVE_ST_TIME_USEC
  44.  
  45. /* Define this if using Kerberos version 4.  */
  46. #undef KRB4
  47.  
  48. /* Define this to be `setpgrp' if on a BSD system that doesn't have setpgid. */
  49. #undef setpgid
  50.  
  51. /* Define this if __P is defined in <stdlib.h>.  */
  52. #undef HAVE___P
  53.  
  54. /* Define this if SYS_ERRLIST is declared in <stdio.h> or <errno.h>.  */
  55. #undef HAVE_SYS_ERRLIST_DECL
  56.  
  57. /* Define this if the system supplies the __PROGNAME variable.  */
  58. #undef HAVE___PROGNAME
  59.  
  60. /* Define this if the system defines snprintf.  */
  61. #undef HAVE_SNPRINTF
  62.  
  63. /* Define this if sig_t is declared by including <sys/types.h> & <signal.h> */
  64. #undef HAVE_SIG_T
  65.  
  66. /* Define this if gcc-style weak references work: ... __attribute__ ((weak)) */
  67. #undef HAVE_WEAK_REFS
  68.  
  69. /* Define this if #pragma weak references work: #pragma weak foo */
  70. #undef HAVE_PRAGMA_WEAK_REFS
  71.  
  72. /* Define this if gnu-as weak references work: asm (".weak foo") */
  73. #undef HAVE_ASM_WEAK_REFS
  74.  
  75. /* If EWOULDBLOCK isn't defined by <errno.h>, define it here.  */
  76. #undef EWOULDBLOCK
  77.  
  78. @BOTTOM@
  79.  
  80. #ifdef HAVE___P
  81. /* The system defines __P; we tested for it in <sys/cdefs.h>, so include that
  82.    if we can.  */
  83. #ifdef HAVE_SYS_CDEFS_H
  84. #include <sys/cdefs.h>
  85. #endif
  86.  
  87. #else /* !HAVE___P */
  88. /* If the system includes don't seem to define __P, do it here instead.  */
  89.  
  90. #if defined (__GNUC__) || (defined (__STDC__) && __STDC__) || defined (__cplusplus)
  91. #define    __P(args)    args    /* Use prototypes.  */
  92. #else
  93. #define    __P(args)    ()    /* No prototypes.  */
  94. #endif
  95.  
  96. #ifndef HAVE_SIG_T
  97. typedef RETSIGTYPE (*sig_t) ();
  98. #endif
  99.  
  100. #endif /* HAVE___P */
  101.